<!--评价输入框-->
<template>
  <section v-if="isShow" class="inner-dialog-wrap" @click="back">

    <div @click.stop="show" class="dialog">
      <appraiseInput :prop="prop" @onSubmit="save"></appraiseInput>
    </div>

  </section>
</template>

<script>
  import appraiseInput from '@/components/dangjian/home/appraiseInput'
  import _ from 'lodash'
  export default {
    components: {appraiseInput},
    name: 'appraiseInputDialog',
    props: {
      prop: {
        type: Array,
        default: []
      }
    },
    data () {
      return {
        isShow: true,
        routeName: '1',
        pageIndex: 1,
        pageSize: 10,
        list: [],
        options: {
          pullUpLoad: true,
          scrollbar: false
        },
        data: {}
      }
    },
    created () {
    },
    methods: {
      show () {
        this.isShow = true
      },
      back () {
        this.isShow = false
      },
      save (data) {
        console.log('onSubmit', data)
        this.$emit('onSubmit', data)
        this.back()
      }
    }
  }
</script>

<style scoped>

</style>
